DBMS |
您所在的位置:网站首页 › sqlplus arraysize › DBMS |
DBMS_OUTPUT Output Gets Truncated when Using ARRAYSIZE in SQLPLUS 12.2.0.1
(Doc ID 2335921.1)
Last updated on SEPTEMBER 21, 2023 Applies to: SQL*Plus - Version 12.2.0.1 to 12.2.0.1 [Release 12.2]Information in this document applies to any platform. SymptomsDBMS_OUTPUT.PUT_LINE() does not produce the expected output, it gets truncated, when using ARRAYSIZE. Example (The below example should have 1188 lines of DBMS_OUTPUT.PUT_LINE(1);) SET ARRAY 1000; SET SERVEROUT ON; SPO "test-plus-&_SQLPLUS_RELEASE.-on-rdbms-&_O_RELEASE..txt" BEGIN DBMS_OUTPUT.PUT_LINE(1); DBMS_OUTPUT.PUT_LINE(1); DBMS_OUTPUT.PUT_LINE(1); DBMS_OUTPUT.PUT_LINE(1); DBMS_OUTPUT.PUT_LINE(1); DBMS_OUTPUT.PUT_LINE(1); . . DBMS_OUTPUT.PUT_LINE(1); END; / SPO off
The spool file created only shows 1000 lines. The same script works fine in 12.1.0.2 and 11.2.0.4 and shows 1188 lines. Cause To view full details, sign in with your My Oracle Support account. Don't have a My Oracle Support account? Click to get started! In this Document Symptoms Cause Solution ReferencesMy Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts. Oracle offers a comprehensive and fully integrated stack of cloud applications and platform services. For more information about Oracle (NYSE:ORCL), visit oracle.com. � Oracle | Contact and Chat | Support | Communities | Connect with us | | | | Legal Notices | Terms of Use |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |